package com.shumei.dao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName(value = "u_information")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UInformation {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Long uId;
    private String uName;
    private String sex;
    private String phone;
    private String address;
    private String email;
    private String qq;
    private Integer identity;
    private Date birthday;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date updateTime;
    private String picture;
}
